04. Quiz: First Expression (2-1)

Directions:

Write an expression that uses at least 3 different arithmetic operators.

The expression should equal 42.

Hint: +, -, *, /, and % are possible arithmetic operators

Your Code:

Start Quiz:

/*
 * Programming Quiz: First Expression (2-1)
 *
 * Write an expression that uses at least three, different, arithmetic operators
 * to log the number 42 to the console.
 */

// this expression equals 4, change it to equal 42
console.log(1 + 5 - 2);

INSTRUCTOR NOTE:

Have questions? Head to Knowledge for discussion with the Udacity Community.